package com.etc.youkeshoppingssm.service.impl;

import com.etc.youkeshoppingssm.dao.IUserDao;
import com.etc.youkeshoppingssm.entity.User;
import com.etc.youkeshoppingssm.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements IUserService {
    @Autowired
    private IUserDao dao;
    @Override
    public User findOfUser(int id) {
        return dao.findOfUser(id);
    }
}
